// Texture2DGL.h
#pragma once

#include "Object.h"
#include <windows.h>
#include <gl/GLU.h>
#include <map>

namespace ANvDbg
{
    class Texture2DGL : public Object
    {
    public:
        static Texture2DGL* Load(const char* path);
        static const char* FileExtension(const char* path);

    public:
        int m_width;
        int m_height;
        int m_bpp;
        GLuint m_texture_id;
        static std::map<std::string, Texture2DGL*> m_cached_textures;
    };
}